#ifndef BASEDIALOG_H
#define BASEDIALOG_H

#include <QtGui>

/*
  BaseDialog provides a reusable implementation of the header
  and subheader found on all mensei-system dialogs.
 */
class BaseDialog : public QDialog
{
    Q_OBJECT
public:
    explicit BaseDialog(QWidget *parent = 0);
    void setMainText(QString text);
    void setSubText(QString text);

signals:

public slots:

protected:
    virtual void initDialogComponents();

    QVBoxLayout *mainLayout;
    QLabel *headerLabel;
    QLabel *subHeaderLabel;
};

#endif // BASEDIALOG_H
